<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>页面</title>
    <link rel="stylesheet" href="./style.css">
</head>

<body>
    <!-- 输入昵称界面 -->
    <div id="loginDiv"
        style="position: absolute;width:400px;height:200px;left:50%;top:50%;margin-left:-200px;margin-top:-100px;">
        <h1>请输入昵称:</h1>
        <input type="text" id="nameInput" />
        <input type="button" value="确定" id="certainInput" onclick="goContent()" />
    </div>
    <!-- 聊天主界面 -->
    <div id="main" class="main" style="display: none;">
        <div class="main_inner clearfix">
            <div class="panel"></div>
            <div id="chatArea" class="box chat">
                <div class="box_hd"></div>
                <div class="box_bd" id="messageList">
                </div>
                <div class="box_ft" id="ck_body">
                    <div class="box_ft_hd">
                        <div class="eaitWrap">
                            <pre id="editArea" class="editArea" contenteditable="true" onkeydown="type(event)"></pre>
                        </div>
                        <a href="javascript:;" class="btn" id="btn_send">发送</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="./index.js"></script>








</body>

</html>